package com.ruoyi.tzzl.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 用户认证对象 wz_certification
 * @author by caoyong
 * @date 2022/11/17
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wz_certification")
public class WzCertification {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 微信用户id */
    @Excel(name = "微信用户id")
    private Long wid;

    /** 认证类型(1-实名认证 2-房产认证 3-学历认证 4-车辆认证) */
    @Excel(name = "认证类型(1-实名认证 2-房产认证 3-学历认证)")
    private String certificationType;

    /** 认证内容 */
    @Excel(name = "认证内容")
    private String certificationContent;

    /**毕业学校*/
    private String graduationSchool;

    /** (0-待审核 1-自动成功 2-审核通过 3-审核未通过) */
    @Excel(name = "(0-待审核 1-自动成功 2-审核通过 3-审核未通过)")
    private String certificationState;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**用户信息*/
    @TableField(exist = false)
    private WzProgramUser user;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;


}
